package com.wish.base.dto;

import com.wish.base.entity.JrFactoringDetail;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName a
 * @Description TODO
 * @Author gaozijie
 * @Date 2022/5/31 21:33
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SaveJrFactoringDto implements Serializable {
    /**
     * 利率，年利率，单位：百分比
     */
    private BigDecimal rate;

    /**
     * 借款金额
     */
    private BigDecimal loanAmount;

    /**
     * 借款期限，单位：月
     */
    private Integer monthLimit;

    /**
     * 一次性服务费，单位：百分比
     */
    private BigDecimal serviceFee;

    /**
     * 金融产品ID
     */
    private Long jrProductId;
    /**
     * 资方id
     */
    private Long capitalId;

    /**
     * 资方名称
     */
    private String capitalName;

    /**
     * 保理明细
     */
    private List<JrFactoringDetail> factoringDetailList;

    /**
     * 应收租约合计
     */
    private BigDecimal rentMoney;

    /**
     * 保理授信金额合计
     */
    private BigDecimal factoringCreditMoney;

    /**
     * 服务费
     */
    private BigDecimal serviceMoney;

    /**
     * 保理利息合计
     */
    private BigDecimal factoringAdditionalMoney;

    /**
     * 实收保理金额
     */
    private BigDecimal factoringTrueMoney;

    /**
     * 备注
     */
    private String remark;
}

